/*
 *  TrainInfo Class: 
 *  Contains packaged data of a train for the TrainTable
 */
package Track.Track;

/**
 *
 * @author Chris
 */
public class TrainInfo {
    
    public int id;
    int lineID;
    public int headBlockID;
    public int tailBlockID;
    public int previousHeadBlockID;
    public int previousTailBlockID;
    public int nextHeadBlockID;
    public int nextTailBlockID;
    
    public TrainInfo(int ID, int line, int H, int T, int prevH, int prevT, int nextH, int nextT){
        id = ID;
        headBlockID = H;
        tailBlockID = T;
        previousHeadBlockID = prevH;
        previousTailBlockID = prevT;
        lineID = line;
        nextHeadBlockID = nextH;
        nextTailBlockID = nextT;
    }
}
